Robot-assisted resection